package com.ltkj.ticket.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ApiModel("小程序详情返回类")
public class AppletOrderDetailVo {

    /** 订单id */
    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("金额")
    private BigDecimal orderTotalPrice;

    /** 状态 */
    @ApiModelProperty("状态")
    private String orderStatus;

    @ApiModelProperty("邮费")
    private BigDecimal postagePrice;

    @ApiModelProperty("订单编号")
    private String orderNum;

    @ApiModelProperty("下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;

    @ApiModelProperty("支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    @ApiModelProperty("下单人姓名")
    private String orderTname;

    @ApiModelProperty("下单人手机号")
    private String orderTphone;

    @ApiModelProperty("下单人身份证号")
    private String orderTcode;

    @ApiModelProperty("收货地址类型")
    private String addressType;

    @ApiModelProperty("收货详细地址")
    private String addressDetail;

    @ApiModelProperty("收货人姓名")
    private String deliveryName;

    @ApiModelProperty("收货人电话")
    private String deliveryPhone;

    @ApiModelProperty("订单id")
    private Long shopId;

    @ApiModelProperty("剩余支付时间")
    private Long residueTimeNum;

    @ApiModelProperty("退款时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date refundTime;

    @ApiModelProperty("优惠券类型")
    private String couponType;

    @ApiModelProperty("优惠金额")
    private Long couponAmount;

    @ApiModelProperty("满减金额")
    private Long fullaAmount;

    @ApiModelProperty("详细订单")
    private List<AppletOrderDetaildVo> detaildVoList;

}
